package com.example.fangyh09.fragment;

import android.app.Fragment;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;

/**
 * Created by fangyh09 on 8/12/2016.
 */
public class MyFragment extends Fragment {
    @Nullable
    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
        View view = inflater.inflate(R.layout.fragment,container,false);
        TextView text = (TextView)view.findViewById(R.id.text);
       text.setText("static loading");
        return view;
        //return super.onCreateView(inflater, container, savedInstanceState);
    }
}





